package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.GiftMemberCard;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class GiftMemberCardExpand extends GiftMemberCard implements Serializable {

    private static final long serialVersionUID = -3705883367476714253L;
    /**
     * 类型(1:普通商品 2:拼团)
     */
    private Integer type;

    /**
     * 订单号主键id(1:传入parentOrderNum 2:ordeNum)
     */
    private String orderNum;


    /**
     * 订单主键id
     */
    private String attach;

    /**
     * 其他方式结算金额
     */
    private BigDecimal payAmount;


    /**
     * 总结算金额
     */
    private BigDecimal totalAmount;


    /**
     * 礼品卡主键id
     */
    private Integer giftCardId;
}
